package SSM.Chat.Config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

@Configuration // 配置核心bean
@ComponentScan({"SSM.Chat.Controller", "SSM.Chat.Filter", "SSM.Chat.Config","SSM.Chat.Listener"})   // 扫描bean
//@EnableWebMvc   // MVC拦截器放行相关资源时使用，前后端分离项目可删除此注解
@EnableWebMvc
//@Import(MVCFilterConfig.class)
public class SpringMvcConfig implements WebMvcConfigurer {
}
